package day7;

public class FlyTest {
    public static void main(String[] args) {
        SuperMan superMan = new SuperMan("钟离");
        Aircraft aircraft = new Aircraft(150, 120, 50, 21);
        Fighter fighter = new Fighter(10, 6, 10);
        superMan.fly(aircraft);
        superMan.fly(fighter);
    }
}